<?php
if(!defined('IN_MANU')){ die('[ERROR] You cannot load this page directly !!!'); }

Abstract Class BaseElement{
    protected $db = null;
    
    function __construct($db)
    {
        $this->db = $db;        
    }
    
    public function set($name, $value)
    {
    	$this->$name = $value;
    }
    
    public function get($name)
    {
    	return $this->$name;
    }
    
    abstract function save();
    
    abstract function delete();
}
?>